package com.lyn.base;


import androidx.recyclerview.widget.RecyclerView;
import androidx.viewbinding.ViewBinding;

/**
 * @author longyn 2023/07/25
 * @version 1.0.0
 */
public class BaseViewHolder extends RecyclerView.ViewHolder {

    public ViewBinding binding;

    public BaseViewHolder(ViewBinding binding) {
        super(binding.getRoot());
        this.binding = binding;
    }

    public ViewBinding getBinding() {
        return binding;
    }
}
